package meconsea.life.cms.accessor;

import java.util.List;

import meconsea.life.cms.entity.VArticle;
import meconsea.life.sys.accessor.BaseAccessor;
import meconsea.life.sys.accessor.IAccessor;

import com.google.inject.name.Named;
import com.wideplay.warp.persist.dao.Finder;
import com.wideplay.warp.persist.dao.FirstResult;
import com.wideplay.warp.persist.dao.MaxResults;

public class VArticleAccessor extends BaseAccessor<VArticle, String> implements
		IAccessor<VArticle, String> {
	public VArticleAccessor(){
		super(VArticle.class);
	}
	@Finder(namedQuery=VArticle.V_ARTICLE_ALL)
	public List<VArticle> getVArticle(@FirstResult int first,@MaxResults int max){
		return null;
	}
	@Finder(namedQuery = VArticle.HEADER_ART_CLASS)
	public List<VArticle> getHeaderArt(@Named("isHeader") Integer isHeader,@FirstResult int first,@MaxResults int max){
		return null;
	}
}
